package validate

import (
	"fmt"
	"github.com/go-playground/validator/v10"
)

var validate *validator.Validate

func init() {
	validate = validator.New()
	validate.SetTagName("v")
}

func outRes(tag string, err *error) {
	fmt.Println("==================start " + tag + "==================")
	fmt.Println(*err)
	fmt.Println("==================end " + tag + "==================")
	err = nil
}
